//
//  ConversionLayer.h
//  ATM Killer
//
//  Created by iMac on 10/15/14.
//
//

#ifndef CONVERSION_LAYER_H
#define CONVERSION_LAYER_H

#include "AbstractLayer.h"

class ConversionLayer : public AbstractLayer {
    UG_PROPERTY_FULL(Layer*, mainLayer, MainLayer);
private:
    Face* conversionBoard;
    UGLayerColor* grayLayer;
    virtual void onEnter();
    virtual void onExit();
    
    void createLayers();
    void createLayersContent();
    void onCloseAchievementBoard(Ref* sender);
public:
    ConversionLayer();
    ~ConversionLayer();
    virtual void update(float dt);
    CREATE_FUNC(ConversionLayer);
};

#endif /* defined(__ATM_Killer__ConversionLayer__) */
